import request from "@/utils/request"
import { Station } from "../stationList/services"

export interface QueryStationListParams {
  cityId?: string
}

export async function queryStationList(params: QueryStationListParams) {
  return request<Station[]>('/app/manager/station/map', {
    data: params,
  })
}

export async function queryStationStatistic(params: {stubGroupId: string}) {
  return request<Station>('/app/manager/station/detail', {
    data: params,
  })
}
